<include file="__THEME__/header" />
<link href="../Public/css/photo.css" rel="stylesheet" type="text/css" />
<!-- 头部 end -->
<div class="content"><!-- 内容 begin  -->
    <include file="__THEME__/apps" />
    <div class="main"> <!-- 右侧内容 begin  -->

        <div class="page_title"> <!-- page_title begin -->
            <!-- 看别人的{$APPINFO['APP_CNNAME']}时显示  -->
            <if condition=" $mid neq $uid">
            <div class="left" style="width:70px;">
                <span class="headpic50"><a href="__TS__/space/{$user.id}"><img src="{$user.id|getUserFace}" /></a></span>
            </div>
            <div class="left" style="width:650px;">
                <h2>{$user.name}喜欢的照片</h2>
                <p><a href="__TS__/space/{$user.id}">{$user.name}的空间</a> ┊ <a href="__TS__/Notify/write/uid/{$uid}">发站内信</a></p>
            </div>
            <div class="left alR lh30" style="width:100px;"><a href="javascript:window.history.back(-1)">返回上一页</a></div>
            <else />
            <h2><img src="{$APPINFO['APP_ICON']}" />{$APPINFO['APP_CNNAME']}</h2>
            </if>
        <div class="c"></div>
</div><!-- page_title end -->   

        <div class="tab-menu"><!-- 切换标签 begin  -->
        <span class="right"></span>
            <ul>
                <li><a href="__APP__/Index/friends_photos"><span>好友的照片</span></a></li>
                <li><a href="__APP__/Index/photos/uid/{$mid}" class="on"><span>我的照片</span></a></li>
                <li><a href="__APP__/Index/all_photos"><span>大家的照片</span></a></li>
                <li><a href="__APP__/Upload/flash"><span><div class="ico_add">&nbsp;</div>上传照片</span></a></li>
                </if>
            </ul>
        </div><!-- 切换标签 end  -->

        <div class="photoBox">
            <div class="MenuSub"><php>if(isset($_GET['order']) || isset($_GET['see'])){</php><a href="__APP__/Index/mylike/uid/{$uid}">{$user.name}的全部{$APPINFO['APP_CNNAME']}({$data.count})</a><php>}else{</php> {$user.name}的全部{$APPINFO['APP_CNNAME']}({$data.count})<php>}</php> ┊ <a href="__URL__/albums/uid/{$uid}">{$user.name}的{$APPINFO['APP_CNNAME']}专辑</a> ┊ 
            <php>if($_GET['order'] != 'readCount'){</php><a href="__URL__/mylike/uid/{$mid}/order/readCount"><php>}</php>最多观看</a> ┊ 
            <php>if($_GET['order'] != 'commentCount'){</php><a href="__URL__/mylike/uid/{$mid}/order/commentCount/"><php>}</php>最多回应</a>
            <php>if($_GET['order'] != 'featureCount'){</php><a href="__URL__/mylike/uid/{$mid}/order/featureCount/"><php>}</php>最多喜欢的{$APPINFO['APP_CNNAME']}</a>

            </div>
            <div class="title_pic"> 
                <php>
                if(isset($_GET['order'])) $order = "order/".$_GET['order'].'/';
                if(isset($_GET['see'])) $see = "see/".$_GET['see'].'/';
                </php>
                <div class="right"><span><a href="__URL__/mylike/uid/{$uid}/{$order}{$see}cTime/1">24小时</a></span><span><a href="__URL__/mylike/uid/{$uid}/{$order}{$see}cTime/7">7天</a></span><span><a href="__URL__/mylike/uid/{$uid}/{$order}{$see}cTime/30">30天</a></span><span>累计</span>|<span>共{$data.count}张图片</span><span>幻灯片</span><span></span></div>
                <div class="left"><span><php>if($_GET['see'] != 'small'){</php><a href="__URL__/mylike/uid/{$uid}/{$order}see/small"><php>}</php>小图</a></span> |<span><php>if($_GET['see'] != 'big'){</php><a href="__URL__/mylike/uid/{$uid}/{$order}see/big"><php>}</php>大图</a></span></div>
                <div class="c"></div>
            </div>
            <div>
                <ul class="piclist wi">
                <volist name="data.data" id="li">
                <php>if($_GET['see'] == 'big'){</php>
                    <li class="pic">
                        <a href="__APP__/Index/photo/id/{$li.id}/aid/{$li.albumId}/uid/{$li.userId}/type/mAll" rel="__ROOT__/thumb.php?w=600&h=500&t=f&url={$li.savepath|get_photo_url}" title="{$li.name}"  class="preview" >
                            <img src="__ROOT__/thumb.php?w=270&h=176&t=f&url={$li.savepath|get_photo_url}" />
                        </a>
                        <php>if(!isset($_GET['order'])){</php>
                            <div class="day"><span>上传时间：</span>{$li.cTime|friendlyDate}</div>
                            <div class="day"><span><a href="__APP__/Index/photo/id/{$li.id}/aid/{$li.albumId}/uid/{$li.userId}/type/mAll">{$li.commentCount}回答</a>　|　</span><span><a href="__APP__/Index/photo/id/{$li.id}/aid/{$li.albumId}/uid/{$li.userId}/type/mAll">{$li.readCount}次查看</a>　|　</span><span><img style="border:0; background:none;" class="alM mr5" src="../Public/images/xin.gif" /></span><span>{$li.featureCount}</span></div>
                        <php>}elseif($_GET['order'] == "readCount" ){</php>
                                                    <div class="day"><span><a href="__APP__/Index/photo/id/{$li.id}/aid/{$li.albumId}/uid/{$li.userId}/type/mAll">{$li.readCount}次查看</a></span></div>
                        <php>}elseif($_GET['order'] == "commentCount"){</php>
                                                    <div class="day"><span><a href="__APP__/Index/photo/id/{$li.id}/aid/{$li.albumId}/uid/{$li.userId}/type/mAll">{$li.commentCount}回答</a></span></div>
                        <php>}elseif($_GET['order'] == "featureCount"){</php>
                        <div class="day"><span><img style="border:0; background:none;" class="alM mr5" src="../Public/images/xin.gif" /></span><span>{$li.featureCount}</span></div>
                            <php>}</php>
                    </li>
                    <php>}else{</php>
                    <li>
                        <a href="__APP__/Index/photo/id/{$li.id}/aid/{$li.albumId}/uid/{$li.userId}/type/mAll" rel="__ROOT__/thumb.php?w=400&h=400&t=f&url={$li.savepath|get_photo_url}" title="{$li.name}"  class="preview" ><img src="__ROOT__/thumb.php?w=120&h=100&t=f&url={$li.savepath|get_photo_url}" /><br />{$li.name|getShort='10'}</a>
                    </li> 
                    <php>}</php>
                </volist>
                </ul>
            </div>
        </div>
        <div style="clear:both">&nbsp;</div>
        <div class="page">{$data.html}</div>  </div><!-- 右侧内容 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
<script src="../Public/js/preview.js" type="text/javascript"></script>